<?PHP
session_start();
$userId=$_REQUEST["userId"]; 
unset($_SESSION['userId']);
unset($_SESSION['username']);
unset($_SESSION['realName']);
unset($_SESSION['nickName']);
unset($_SESSION['nickLevel']); 
header("Location: ../../login.php");
?>